AXIS_USABLE_LIBS = UCLIBC GLIBC
include $(AXIS_TOP_DIR)/tools/build/Rules.axis

PROGS     = libssd1303.o

all: $(PROGS)
$(PROGS):  
	$(CC) -fPIC -c libssd1303.c
	$(CC) $(LDFLAGS) -shared -o libssd1303.so libssd1303.o
	cris-axis-linux-gnu-ar rcs libssd1303.a libssd1303.o
clean:
	rm -f *.o *.a *.so 
